package Dome1;

public class Text1 {
    public static void main(String[] args) {
        Integer a = 127;
        Integer b = 127;
        Integer c = 128;
        Integer d = 128;
        System.out.println(a == b);
        System.out.println(c == d);
    }
    public static void main2(String[] args) {
        Integer val=100;
        int a=val;
        System.out.println(a);

        int a2=val.intValue();
        System.out.println(a2);

    }
    public static void main1(String[] args) {
        int a=100;
        Integer val=a;
        System.out.println(val);

        Integer integer1 = new Integer(a);
        System.out.println(integer1);
        Integer integer2 = Integer.valueOf(a);
        System.out.println(integer2);
    }
}
